module.exports = {
  env: {
    NODE_ENV: '"development"'
  },
  defineConstants: {
  },
  mini: {
    devServer: {
      // host: 'localhost',
      // port: 10086,
      proxy: {
        '/api/juejin': {
          target: 'https://api.juejin.cn',
          pathRewrite: {
            '^/api/juejin': '/'
          },
          changeOrigin: true
        }
      }
    }
  },
  h5: {
    devServer: {
      // host: 'localhost',
      // port: 10086,
      proxy: {
        '/api/juejin': {
          target: 'https://api.juejin.cn',
          pathRewrite: {
            '^/api/juejin': '/'
          },
          changeOrigin: true
        }
      }
    }
  }
}
